home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
qostnote.arc
/
DBASE3P.TEC
< prev
next >
Wrap
Text File
|
1990-07-05
|
3KB
|
57 lines
ID:DB dBase III Plus Colors
DESQview Technical Note:
by Stan Young
dBASE III Plus uses the TopView/DESQview call to write to DESQview's
screen buffer and therefore can be run in a small window and in the
background.
Unfortunately, when the dBASE developers implemented the call, they
used a TopView function called "Logical colors" incorrectly. As a
result, running dBASE with "Writes directly to screen" option turned
off, dBASE will not display the colors that you select with the "SET
COLOR TO" option. When dBASE is run with the default color scheme and
is running in the ASSIST mode, the menu bars do not display
highlighting properly.
The most drastic way to cause dBASE to display the screen correctly is
to run DESQview's "Change a Program" and turn on the options: "Writes
directly to screen" and "Runs only in foreground". Using this
configuration, colors in dBASE will appear exactly as they do in DOS.
Unfortunately, this prevents the program from processing in a small
window and running properly in the background, unless you are running
on a 386 machine in which case, DESQview can virtualize the screen.
If you don't have to set specific colors however, there is another
solution that will result in a pleasant, readable set of colors that
will run properly in a window and background:
FIRST - Edit the CONFIG.DB file (in your dBASE directory) and change
the line that says "COMMAND = ASSIST" to:
COMMAND = DO DESQVIEW
NEXT - Using a word processor capable of producing ASCII files (such
as you would use to write batch files), make a file called
DESQVIEW.PRG and place it in the dBASE directory. The file should
contain the following two lines followed by a blank line:
SET COLOR TO
ASSIST
Now when you run dBASE, dBASE will automatically run the DESQVIEW.PRG
file. This provides a pleasant set of colors, although not exactly
the default colors as it should. You may then use the DESQview option
to change the colors further if you like, by selecting "Rearrange" and
"Colors" from the DESQview main menu.
Let me restate that this problem occurs because of what amounts to a
dBASE III Plus "bug" in their TopView/DESQview routines. Since we
support these routines, the problem only shows up when you are running
in DESQview or TopView. We have discussed the problem with the Ashton-
Tate developers and they have indicated that they may fix the problem
in a later release, but to date, (04/21/87) the problem exists.
Copyright (C) 1990 by Quarterdeck Office Systems
* * * E N D O F F I L E * * *